home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
DOORS.ZIP
/
INFO.ZIP
/
INFOFORM.DOC
< prev
next >
Wrap
Text File
|
1992-05-10
|
6KB
|
156 lines
╒═════════════════════════════════════════════╕
│ ■ The Hill People's [THP] ■ │█
│ Info-Form Door │█
╘═════════════════════════════════════════════╛█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Harmony Skates ßßS
[718.767.1931] - 2 Nodes
The Hill People (C)opyright 1992
Written by: Helios [THP]
Documentation by: SkaTeMasTer [THP]
Compiled in Turbo Pascal 6.0 and Prokit 3.44
■ Introduction
The Info-Form Door is very simple to use and setup. It was
basically designed for SysOps to have a cool way for new users to
fill out their newuser info. This basically is similar to the
forum hacks new user info forms. It lets users pick what
infoforms they want to fill out and can raise their security
level after completing them.
■ Installation
Simply unzip INFO10B.ZIP into a subdirectory of your PCBoard
Doors path (i.e. C:\PCB\DOORS\INFORM). Next edit the INFO.CNF
file to your system's configuration. There's not much to the
config or installation, way too easy.
* ONLY PCBOARD - If you are running PCBoard without Prodoor in
order to have this door load in logon for new user your DOORS.DAT
file should look like the below. This should be the first door in
your list, the security must be your newuser security level.
Door Password Security Logon Blah.sys Blah.sys blah.sys Path
-----------------------------------------------------------------
NEWUSER 5 Y N N N C:\PCB\
* PCBOARD/PRODOOR - If you are running PCBoard with Prodoor on
logon this is what your DOORS.DAT should look like.
Door Password Security Logon Blah.sys Blah.sys blah.sys Path
-----------------------------------------------------------------
NEWUSER 5 Y N N N C:\PCB\
PRODOOR 0 Y N N N C:\PCB\
* PROLOGON/PRODOOR - If you are running ProLogon with Prodoor
this is what your PROLON.CNF should look like (The part of the
config that has the newuser level with door to open).
New User Security
| Path/Name of Doors Menu Ansi
| | Path/Name of Doors.Dat
| | | [THP] Info-Door (Door 15)
| | | | Prodoor
| | | | |
5 C:\PCB\GEN\DOORS C:\PCB\GEN\DOORS.DAT **15 *1
* Multi-Node - This Door is fully Multi-Node Compatible and 100%
Desqview aware.
■ File Rundown
INFO.EXE - Main .EXE File
INFO.CNF - Config file containing the door information
INFOFORM. - Sample Batch file
WELCOMEG. - Ansi displayed when door is opened
WELCOME. - Ascii displayed when door is opened
GOODBYEG. - Ansi displayed when door is closed
GOODBYE. - Ascii displayed when door is closed
DSCLMG. - Ansi Disclaimer
DSCLM. - Ascii Disclaimer
SYSOP.INF - SysOp Infoform
USER.INF - Normal User Infoform
* INFO.CNF *
INTERRUPT ; Don't worry about this, just leave it.
YES ; Show Disclaimer
5 ; Maximum Security to show disclaimer
2 ; Number of Info-form's your using
New User Infoform ; Title of Info-form
USER.INF ; Info-Form #1
YES ; Required?
6 ; Security Level to give users after they complete form.
5 ; Maximum Security Level allowed to fill out form.
C:\PCB\MAIN\NEWREG. ; File to output answers
SysOp Infoform ; * Repeats here for 2nd form
SYSOP.INF
NO
0
5
C:\PCB\MAIN\NEWREG.
* INFOFORM * (Door Batch File)
{Single Node}
@ECHO OFF
CD\PCB\DOORS\INFORM
INFO.CNF C:\PCB
CD\PCB
BOARD
{Multi-Node}
@ECHO OFF
CD\PCB\DOORS\INFORM
INFO.CNF C:%PCBDIR%
CD%PCBDIR%
BOARD
■ Creating Your Own Infoform
There are several command used in creating infoforms. Each
of these commands MUST start a new line!
$ - Clear screen
* - Waits for an answer that may not be skipped.
Format for use is '*X,Y,MaxChars' where X and Y
are the location to place the cursor when user
responds and MaxChars is the maximum # of
characters to allow in answer.
% - Same as '*' but an answer is not required.
& - Places cursor at specified position on screen.
Format for use is '&X,Y' where X and Y are the
screen position to place the cursor at.
! - Writes a comment to the output file. Format for
use is '!COMMENT' where COMMENT is the string to
be written to the output file.
æ - (ALT-145) brings up the prompt "Press [Enter]:"
Now let's take a look at a very simple infoform:
$
&1,1
Enter your name:
!NAME
*17,1,20
æ
The first line of this infoform clears the screen. The second
line moves the cursor to (1,1) which is the top left corner of
the screen. The third line will simply be shown to the screen
since the line is not with one of the above commands. The fourth
line will write {NAME} to the output file for this infoform. The
last line moves the cursor to (17,1) which is right after "Enter
your name:" on the screen and allows the user to enter up to 20
characters. Then asks for a key press.